<html>

<head>

</head>

<body>
    <a href="16history对象.html">点我跳转2</a>
    <button id="btn">上一页</button>
    <script>
        var btn = document.getElementById("btn");
        btn.onclick = function () {
            history.back();
        }
    </script>
</body>

</html>